package com.panshi.tools;

import java.io.Serializable;

public class AppMatter implements Serializable {

    private Integer matterId; // 问题id

    private Integer classifyId; // 分类id

    private Integer userId; // 用户id

    private String matterTitle; // 问题标题

    private String matterContent; // 问题背景
    private String groundTime; // 上架时间

    private Long readCount; // 阅读量

    private Long collectCount; // 收藏量

    private Long answerCount; // 回答量

    private String matterIsTop; // 是否置顶

   // @ApiModelProperty(value = "问题评论集合")
    //private List<AppComment> commentList;

    public Integer getMatterId() {
        return matterId;
    }

    public void setMatterId(Integer matterId) {
        this.matterId = matterId;
    }

    public Integer getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMatterTitle() {
        return matterTitle;
    }

    public void setMatterTitle(String matterTitle) {
        this.matterTitle = matterTitle;
    }

    public String getMatterContent() {
        return matterContent;
    }

    public void setMatterContent(String matterContent) {
        this.matterContent = matterContent;
    }

    public String getGroundTime() {
        return groundTime;
    }

    public void setGroundTime(String groundTime) {
        this.groundTime = groundTime;
    }

    public Long getReadCount() {
        return readCount;
    }

    public void setReadCount(Long readCount) {
        this.readCount = readCount;
    }

    public Long getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(Long collectCount) {
        this.collectCount = collectCount;
    }

    public Long getAnswerCount() {
        return answerCount;
    }

    public void setAnswerCount(Long answerCount) {
        this.answerCount = answerCount;
    }

    public String getMatterIsTop() {
        return matterIsTop;
    }

    public void setMatterIsTop(String matterIsTop) {
        this.matterIsTop = matterIsTop;
    }

    @Override
    public String toString() {
        return "AppMatter{" +
                "matterId=" + matterId +
                ", classifyId=" + classifyId +
                ", userId=" + userId +
                ", matterTitle='" + matterTitle + '\'' +
                ", matterContent='" + matterContent + '\'' +
                ", groundTime='" + groundTime + '\'' +
                ", readCount=" + readCount +
                ", collectCount=" + collectCount +
                ", answerCount=" + answerCount +
                ", matterIsTop='" + matterIsTop + '\'' +
                '}';
    }
}
